package com.pangu.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * *  Author:陈国强
 * *  Description:
 * *  Date:2022/12/29 15:57
 */
@Data
@NoArgsConstructor
public class User {
    private Integer id;
    private String username;
    private String password;
    /**
     * 性别  0代表男；1代表女*/
    private Integer gender;
    private String phone;
    /**
     * 状态*/
    private Integer status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GTM+8")
    private Date ctime;
}
